<{foreach from=$data item=list}>
    <{if $list.period}>
        <div class="prize_box">
            <dl class="prize_topic">
                <span class="wqdh"><{if $list.finishType==1}>定时抽奖<{else}>满员抽奖<{/if}> • 第<{$list.period}>期</span>
                <a class="rule_link" href="<{if $list.finishType==1}><{U('pointLottery/timingIntroduce')}><{else}><{U('pointLottery/fullIntroduce')}><{/if}>"></a>
            </dl>
        </div>
    <{/if}>
    <ul class="herald-list">
        <li class="herald-box">
            <div class="herald-img">
                <span class="hy-icon">金卡专享</span>
                <a href="<{U('PointLottery/detail')}>&id=<{$list.id}>&status=<{$status}>"><img src="<{$list.listPic}>" /></a>
                <dl class="hint" style="bottom:.5rem;"><{if $list.finishType==1}><{if $status==2}>开始时间：&nbsp;&nbsp;&nbsp;<{$list.beginTime|date_format:'%Y-%m-%d %H:%M'}>
                    <{else}>开奖时间:&nbsp;&nbsp;&nbsp;<{$list.endShowTimestamp|date_format:'%Y-%m-%d %H:%M'}><{/if}>
                    <{else}><{if $type==2}>开始时间：&nbsp;&nbsp;&nbsp;<{$list.beginTime|date_format:'%Y-%m-%d %H:%M'}>
                    <{else}>结束时间:&nbsp;&nbsp;&nbsp;<{$list.endShowTimestamp|date_format:'%Y-%m-%d %H:%M'}><{/if}><{/if}></dl>
            </div>
            <ul class="herald-con">
                <li class="topic"><{$list.title}></li>
                <li>参考价：¥<{$list.originalPrice}>&nbsp;&nbsp;&nbsp;数量：<{$list.prizeNum}></li>
            </ul>

            <{if $status==2 }>
                <a class="herald-btn" href="<{U('PointLottery/detail')}>&id=<{$list.id}>&status=<{$status}>">活动预告</a>
            <{else if $status == 1}>
                <{if $list.hasJoined}>
                    <a href="<{U('PointLottery/detail')}>&id=<{$list.id}>&status=<{$status}>" class="herald-btn" style="background-color: #ccc">已参与</a>
                <{else}>
                    <a class="herald-btn" href="<{U('PointLottery/detail')}>&id=<{$list.id}>&status=<{$status}>"><{$list.points}>积分参与</a>
                <{/if}>
            <{else if $status == 3}>
                <a class="herald-btn" style="background-color: #ccc;" href="<{U('pointLottery/detail')}>&id=<{$list.id}>&status=<{$status}>">活动结束</a>
                <div class="get_box">
                    <h3 class="get-topic">获奖名单</h3>
                    <{if $list.userInfo}>
                        <{foreach from=$list.userInfo item=info key=key}>
                            <dl><div style="float: left;width:50%;"><{$key+1}>、<{$info.nickname}></div>手机号码：<{$info.bindPhone}></dl>
                        <{/foreach}>
                    <{else}>
                        <p>暂无中奖消息</p>
                    <{/if}>
                </div>
            <{/if}>

        </li>
    </ul>
<{/foreach}>